import request from '@/utils/request.js'

// 获取公告 - 学生
export const notGetnoticeInfoService = () => {
    return request.get('/not/get/notice')
}

// 获取公告 - 教师
export const notGetnoticeInfoTeaService = () => {
    return request.get('/not/get/noticeme')
}

// 新增公告
export const notAddNoticeService = (data) => {
    return request.post('/not/post/notice', data)
}

// 修改公告
export const notEditNoticeService = (data) => {
    return request.post('/not/update/notice', data)
}

// 删除公告
export const notDelNoticeService = (data) => {
    return request.post('/not/del/notice', data)
}